package com.thysdy.flowable.entity;

import lombok.Data;

import java.util.List;
import java.util.Map;

@Data
public class UserTaskVo {

    private String id;
    private String key;
    private String name;
    private String processInstanceId;

    private List<User> assignUsers;
    private List<User> lastAssignUsers;
    private String lastAssignUser;

    private Map<String, Object> variables;

    public UserTaskVo() {

    }

    public UserTaskVo(String id, String name, List<User> assignUsers, List<User> lastAssignUsers) {
        this.id = id;
        this.name = name;
        this.assignUsers = assignUsers;
        this.lastAssignUsers = lastAssignUsers;
    }

    public UserTaskVo(String id, String name) {
        this.id = id;
        this.name = name;
    }
}
